<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<%@ taglib prefix="sjr" uri="/struts-jquery-richtext-tags"%>

<s:form id="insertForm" theme="bootstrap" cssClass="form-horizontal"
	label="Form News">
	<div class="row-fluid">
		<div class="span12">
		
			<s:textfield 
				label="Title" 
				name="title" 
				id="title"
				cssClass="input-xlarge" />
				
			<s:textfield 
				label="Created By" 
				name="createdBy" 
				id="createdBy"
				cssClass="input-xlarge" />
				
			 <sjr:ckeditor 
                 id="richtextEditor" 
                 name="content" 
                 label="Content"
                 rows="10" 
                 cols="80" 
                 width="800" />
		</div>
	</div>
</s:form>

<s:url id="urlInsert" action="modul/news/crud/insert" />
<sj:a id="insert" href="%{urlInsert}" cssClass="btn"
	formIds="insertForm" onBeforeTopics="clearTarget"
	targets="resultTarget" onSuccessTopics="reloadPaging"
	onClickTopics="buttonClick">Insert</sj:a>